import environmentMannger from 'framework/Environment';

let environments = require.context('@/util/environments', true, /\.js$/);
environments.keys().forEach((importModule) => {
  if (importModule.indexOf('index') > -1) {
    return false;
  }
  const module = environments(importModule).default;
  environmentMannger.registerEnvironment(module.name, module);
});
export default environmentMannger
